#ifndef _SHELL_MYFRIENDBEAN_BEAN_H_
#define _SHELL_MYFRIENDBEAN_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class MyFriendBean : public Bean
{
	public:
	MyFriendBean();
	~MyFriendBean();
	void reset();
	MyFriendBean* clone();
	//好友id
	int64 playerId;
	//好友名称
	string name;
	//好友vip等级
	int8 vipLv;
	//好友战力
	int32 force;
	//友好度
	int32 loveNum;
	//角色等级
	int32 playerLv;
	//角色职业
	int8 playerType;
	//是否在线0否1是
	int8 isOnline;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
